package com.ruoyi.ade.llm.exception;

/**
 * ADE知识的异常
 */
public class AdeKnowledgeException extends RuntimeException{

    private String message; // 自定义错误信息

    public AdeKnowledgeException(String message) {
        super(message);
        this.message = message;
    }
    public AdeKnowledgeException(String message, Throwable t){
        super(message,t);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

}
